package SingleExample;

public class Singleton {
	private static Singleton instance = new Singleton();
	
	private Singleton(){
		
	}
	
	public static Singleton show() {
		return instance;
	}
	
	public static void print() {
		System.out.println("Singleton Pattern!");
	}
	
	public static void main(String[] args) {
		Singleton single = Singleton.show();
		single.print();
	}
}